<?php
return array(
	//'配置项'=>'配置值'
	'TAGLIB_BUILD_IN'	=>	'Cx,Index\TagLib\Yh',
    'TAGLIB_PRE_LOAD'	=>	'Index\TagLib\Yh',
    //开启rewrite
    'URL_MODEL'			=>	2,
    //路由开启
    'URL_ROUTER_ON'		=>	true,
    'URL_ROUTE_RULES'	=>	array(
        'list/2'            =>  'Article/about',
        'list/3'            =>  'List/moodlist',
        'list/6'            =>  'Article/message',
    	'list/:id\d'		=>	'List/index',
    	'article/:id\d'		=>	'Index/Article/index',
    	),
    'C_CACHE'           =>  60*60*5,    //缓存时间
    //开启静态缓存

    'HTML_CACHE_ON'     =>  TRUE,
    'HTML_CACHE_TIME'   =>  60*60*24,   //全局静态缓存有效期1天
    'HTML_CACHE_RULES'  =>  array(
        'Index:index'       =>  array('pc/{:controller}_{:action}'),
        'List:index'        =>  array('pc/List/{:action}_{id}_{p}'),
        'List:moodlist'     =>  array('pc/List/{:action}_{p}'),
        'Article:about'     =>  array('pc/{:controller}_{:action}'),
        'Article:index'     =>  array('pc/Article/{:action}_{id}')
        ),
    //错误页面显示
    'ERROR_PAGE' =>'Public/404.html',
    //开启模板主题
    'DEFAULT_THEME'    =>    'Default',
    //'SHOW_PAGE_TRACE'  =>  true
);